package com.xnyzc.lhy.common.penum;


import com.xnyzc.lhy.common.entity.PEnum;

/**
 * 支付状态
 */
public enum EPaymentStatus implements PEnum<String> {
    init("待支付"), overdue("过期"), paidOff("已支付"), cancel("取消支付"), fail("支付失败"), refund("已退款");

    private String desc;

    EPaymentStatus(String desc) {
        this.desc = desc;
    }

    @Override
    public String getValue() {
        return name();
    }

    @Override
    public String toString() {
        return name();
    }

    @Override
    public String toChString() {
        return desc;
    }
}
